// @Date         2021-11-08
// @Author       Aaron Zhang
// @Description   
// @FileName      provider.go   

package framework

type NewInstance func(map[string]interface{}) (interface{}, error)

type ServiceProvider interface {
	Register(c Container) NewInstance
	Boot(c Container) error
	IsDefer() bool
	Params(param map[string]interface{}) map[string]interface{}
	Name() string
}